package musicstore.aop;

import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.AfterThrowing;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;

@Aspect 
public class MyAdvice {
	
	@Pointcut("execution(musicstore.web.controller.ManageController") //声明切入点
	 public void bizPointcut(){} {	
		}
	@AfterThrowing(value="bizPointcut()", throwing="ex") //抛出后通知
	 public void doAfterThrow(Throwable ex){ 
			
	 } 
	}

